package com.hiultra.archive.config;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

@Component
public class MainConfig {
    // 已推送 01 未推送 02
    public static final String PUSHED = "01";
    public static final String PUSH_WAIT = "02";
    // 渠道号
    private String channelNo = "DAS";
    // 单位编号
    @Value("${orgNo}")
    private String orgNo;
    // 档案室编号
    @Value("${roomNo}")
    private String roomNo;
    @Value("${doorDirection}")
    private String doorDirection;

    // 通道门连接参数
    @Value("${doorNum}")
    private String doorNum;

    public String getChannelNo() {
        return channelNo;
    }

    public String getRoomNo() {
        return roomNo;
    }

    public String getOrgNo() {
        return orgNo;
    }

    public void setChannelNo(String channelNo) {
        this.channelNo = channelNo;
    }

    public void setOrgNo(String orgNo) {
        this.orgNo = orgNo;
    }

    public void setRoomNo(String roomNo) {
        this.roomNo = roomNo;
    }

    public String getDoorDirection() {
        return doorDirection;
    }

    public String getDoorNum() {
        return doorNum;
    }

    public void setDoorNum(String doorNum) {
        this.doorNum = doorNum;
    }
}
